package com.foreknow.service;

import com.foreknow.bean.User;

public interface UserService {
    /**
     * 添加用户
     * @param user
     * @return
     */
    public boolean addUser(User user);

    /**
     * 登录
     * @param adminName
     * @param password
     * @return
     */
    public User isValidate(String adminName,String password);

}
